﻿using System.Collections.Generic;
using System.Linq;
using Sumen.Model.Model;

namespace Sumen.Business.Presenter.Sys
{
    public class SysRolePresenter
    {




        public ICollection<sys_role> GetAll()
        {
            using (sumenEntitiesSystem objSumenEntitiesSystem = new sumenEntitiesSystem())
            {
                return objSumenEntitiesSystem.sys_role.ToList();
            }
           
        } 

    }
}
